<template>
  <el-form :model="temp" :rules="rules" label-width="100px" ref="form">
    <el-form-item label="角色名称" prop="name">
      <el-input size="small" v-model="temp.name"></el-input>
    </el-form-item>
    <el-form-item label="角色描述" prop="noteDesc">
      <el-input size="small" v-model="temp.noteDesc"></el-input>
    </el-form-item>
    <el-form-item label="排序" prop="noteDesc">
      <el-input size="small" v-model.number="temp.orderNum"></el-input>
    </el-form-item>
  </el-form>
</template>

<script>
import TempMixin from "@/mixins/TempMixin";

export default {
  mixins: [TempMixin],
  data() {
    return {
      rules: {
        name: [
          {required: true, message: '请输入角色名称', trigger: 'blur'},
        ],
        noteDesc: [
          {required: true, message: '请输入角色描述', trigger: 'blur'},
        ],
      }
    }
  },
  component: {},
  computed: {},
  watch: {},
  methods: {}
}
</script>

<style scoped>

</style>
